﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using Public;
using System.Data;

namespace BUL
{
    public class ProductNameBUL
    {
        ProductNameDAL cls = new ProductNameDAL();
        public DataSet GetAllProNameCBX()
        {
            return cls.GetAllProNameCBX();
        }
        public DataTable searchProName(string searchValue)
        {
            return cls.searchProName(searchValue);
        }
        public int AddProductName(ProductName proName)
        {
            return cls.AddProductName(proName);
        }
        public int UpdateProductName(ProductName proName)
        {
            return cls.UpdateProductName(proName);
        }
        public DataTable getTypeName(int proNameId)
        {
            return cls.getTypeName(proNameId);
        }
        public DataTable getProNameId(string proName)
        {
            return cls.getProNameId(proName);
        }
    }
}
